﻿using System.Text.Json.Serialization;

namespace AiQiuQuan.Sport.Model.Models
{
    /// <summary>
    /// 教练分页请求
    /// </summary>
    public class CoacherPageRequestDto : PageRequest
    {
        /// <summary>
        /// 省ID
        /// </summary>
        public Guid? ProvinceId { get; set; }

        /// <summary>
        /// 市ID
        /// </summary>
        public Guid? CityId { get; set; }

        /// <summary>
        /// 电话
        /// </summary>
        public string? PhoneNo { get; set; }

        /// <summary>
        /// 名称
        /// </summary>
        public string? UserName { get; set; }

        /// <summary>
        /// 添加人code
        /// </summary>
        public int? AddUserCode { get; set; }

        /// <summary>
        /// 是否平台
        /// </summary>
        [JsonIgnore]
        public bool IsPlatform { get; set; }
    }

    /// <summary>
    /// 教练分页请求
    /// </summary>
    public class CoacherRequestDto : PageRequest
    {
        /// <summary>
        /// 搜索key
        /// </summary>
        public string? Key { get; set; }

        /// <summary>
        /// 电话
        /// </summary>
        public string? PhoneNo { get; set; }

        /// <summary>
        /// 昵称
        /// </summary>
        public string? RealName { get; set; }

        /// <summary>
        /// 姓名
        /// </summary>
        public string? NickName { get; set; }

        /// <summary>
        /// 登录code
        /// </summary>
        public int? Code { get; set; }

        /// <summary>
        /// 是否平台
        /// </summary>
        [JsonIgnore]
        public bool IsPlatform { get; set; }
    }
}
